package cn.qidd.keep.manage.service.login;

import cn.qidd.keep.domain.document.User;
import cn.qidd.keep.manage.model.login.LoginModel;

/**
 * Created by sunyanping on 2018/9/13
 */
public interface LoginService {

    LoginModel login(User mongoUser);

    LoginModel getUserInfoByToken(String token);

    void logout(String token);
}
